package com.hoperun.product.activity;

import com.hoperun.product.base.MIP_BaseActivity;
import com.hoperun.yieldmgr.R;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.LinearLayout;




public class MainActivity extends MIP_BaseActivity {

	
	private LinearLayout daoinput_Ll;
	private LinearLayout daoquery_Ll;
	private LinearLayout zheninput_Ll;
	private LinearLayout zhenquery_Ll;
	private LinearLayout boquery_Ll;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main_activity);
		initView();
	}
	private void initView(){
		daoinput_Ll=(LinearLayout) findViewById(R.id.dao_input_Ll);
		daoquery_Ll=(LinearLayout) findViewById(R.id.dao_query_Ll);

		zheninput_Ll=(LinearLayout) findViewById(R.id.zhen_input_Ll);
		zhenquery_Ll=(LinearLayout) findViewById(R.id.zhen_query_Ll);
		boquery_Ll=(LinearLayout) findViewById(R.id.bo_query_Ll);

		daoinput_Ll.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				Intent intent=new  Intent(MainActivity.this,DaoshaActivity.class);
				startActivity(intent);
			}
		});


		daoquery_Ll.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				Intent intent=new  Intent(MainActivity.this,DaoListQueryActivity.class);
				startActivity(intent);
				
			}
		});


		zheninput_Ll.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				Intent intent=new  Intent(MainActivity.this,ZhenShaActivity.class);
				startActivity(intent);
			}
		});


		zhenquery_Ll.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				Intent intent=new  Intent(MainActivity.this,ZhenListQueryActivity.class);
				startActivity(intent);

			}
		});

		boquery_Ll.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				Intent intent=new  Intent(MainActivity.this,BoListQueryActivity.class);
				startActivity(intent);

			}
		});
	}
	
	
	
	
	
	
	@Override
	public void onPostHandle(int requestType, Object objBody, boolean error) {
		// TODO Auto-generated method stub

	}

}
